From 49879c43ebd9f36ec19f4c02fa2b121314126286 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Fri, 29 May 2026 23:44:08 +0000
Subject: style: apply biome autofixes and resolve remaining lint findings

Auto-fixed cosmetic findings (import ordering, obj["k"]->obj.k, optional
chaining, template literals, Date.now, parseInt radix, useless ternaries/
switch cases). Resolved the non-autofixable rest by hand:

- Senpy: static-only class -> object literal (no this/static reliance).
- app.html: var global shim -> window.global = window (keeps the shim,
  drops the unused-var flag).
- biome-ignore with rationale for the logout document.cookie clear and the
  holodule scrape non-null assertion.

Verified: biome check 0 diagnostics, svelte-check 0/0, 24/24 unit tests.
---
 src/routes/tools/[tool]/+page.svelte | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

(limited to 'src/routes/tools/[tool]/+page.svelte')

diff --git a/src/routes/tools/[tool]/+page.svelte b/src/routes/tools/[tool]/+page.svelte
index b74952a5..1778752f 100644
--- a/src/routes/tools/[tool]/+page.svelte
+++ b/src/routes/tools/[tool]/+page.svelte
@@ -1,26 +1,26 @@
 <script lang="ts">
-import Hayai from "./../../../lib/Tools/Hayai.svelte";
-import UmaMusumeBirthdays from "./../../../lib/Tools/UmaMusumeBirthdays.svelte";
-import ActivityHistory from "$lib/Tools/ActivityHistory/Tool.svelte";
-import Wrapped from "$lib/Tools/Wrapped/Tool.svelte";
-import EpisodeDiscussionCollector from "$lib/Tools/EpisodeDiscussionCollector.svelte";
-import CharacterBirthdays from "$lib/Tools/Birthdays.svelte";
-import SequelSpy from "$lib/Tools/SequelSpy/Tool.svelte";
+import { onMount } from "svelte";
+import { goto } from "$app/navigation";
 import { closest } from "$lib/Error/path";
 import HeadTitle from "$lib/Home/HeadTitle.svelte";
+import Popup from "$lib/Layout/Popup.svelte";
+import ActivityHistory from "$lib/Tools/ActivityHistory/Tool.svelte";
+import CharacterBirthdays from "$lib/Tools/Birthdays.svelte";
+import BirthdaysTemplate from "$lib/Tools/BirthdaysTemplate.svelte";
+import EpisodeDiscussionCollector from "$lib/Tools/EpisodeDiscussionCollector.svelte";
+import Likes from "$lib/Tools/Likes.svelte";
+import Picker from "$lib/Tools/Picker.svelte";
 import RandomFollower from "$lib/Tools/RandomFollower.svelte";
+import SequelCatcher from "$lib/Tools/SequelCatcher/Tool.svelte";
+import SequelSpy from "$lib/Tools/SequelSpy/Tool.svelte";
+import Tracker from "$lib/Tools/Tracker/Tool.svelte";
 // import DumpProfile from '$lib/Tools/DumpProfile.svelte';
 import { tools } from "$lib/Tools/tools.js";
-import { onMount } from "svelte";
-import { goto } from "$app/navigation";
-import Picker from "$lib/Tools/Picker.svelte";
-import Likes from "$lib/Tools/Likes.svelte";
+import Wrapped from "$lib/Tools/Wrapped/Tool.svelte";
 import root from "$lib/Utility/root.js";
-import Popup from "$lib/Layout/Popup.svelte";
-import SequelCatcher from "$lib/Tools/SequelCatcher/Tool.svelte";
-import Tracker from "$lib/Tools/Tracker/Tool.svelte";
-import BirthdaysTemplate from "$lib/Tools/BirthdaysTemplate.svelte";
 import locale from "$stores/locale";
+import Hayai from "./../../../lib/Tools/Hayai.svelte";
+import UmaMusumeBirthdays from "./../../../lib/Tools/UmaMusumeBirthdays.svelte";
 import type { PageData } from "./$types";
 
 export let data: PageData;
-- 
cgit v1.2.3

